package cn.fyg.service.finance.domain.login;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

import lombok.Data;

@Data
public class LoginDto {
	@NotEmpty(message="用户名不能为空")
	private String user;
	@NotEmpty(message="密码不能为空")
    @Length(min=6, message="密码长度不能少于六位")
	private String password;
	private String devicetoken;
}
